﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataModel
{
    public class ReportCheckPoint
    {
        public int planDetailId { get; set; }
        public int workPlanId { get; set; }
        public int workTeamId { get; set; }
        public int deviceId { get; set; }
        public int personId { get; set; }
        public string personName { get; set; }
        public int fenId { get; set; }
        public int carId { get; set; }
        public string carNum { get; set; }

        public string workPlanType { get; set; }

        public string effectDate { get; set; }

        public string checkNames { get; set; }

        public string checkPoints { get; set; }

        public List<CheckPoint> points { get; set; }

        public TimeSpan startSpan { get; set; }
        public TimeSpan endSpan { get; set; }


        public double mileage { get; set; }
    }

    public class CheckPoint
    {
        public int pointId { get; set; }
        public string checkName { get; set; }
        public List<string> enterTime { get; set; }
        public bool inOut { get; set; }
        public string checkPoint { get; set; }
    }
    public class DevInfo
    {

        /// <summary>
        /// 车辆表主键Id
        /// </summary>
        public int carId { get; set; }
        public int companyId { get; set; }

        public string deviceModel { get; set; }

        public string deviceName { get; set; }
        public string manufacturer { get; set; }

        public int operatorId { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string simCard { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string licnum { get; set; }
        /// <summary>
        /// 车牌颜色
        /// 1,'蓝色' 2,'黄色' 3,'黑色' 4,'白色'9,'其他'
        /// </summary>
        public int plateColor { get; set; }

    }
}
